<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/include/taglibs.jsp"%>
<style>
#left {float:padding:5px 5px 5px 5px;width:75%;}
</style>
<script language="javascript" type="text/javascript" src="scripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas"
});
</script>
<div id="left">
<h3>您可以发表关于此软件的观点:</h3>
<form name="article" method="post" action="editArticle.html">
<table class="detail">
	<spring:bind path="article.articleId">
		<input type="hidden" name="id" value="${status.value}" />
	</spring:bind>
	<c:forEach items="${article.tagSet}" var="tag">
		<input type="hidden" name="tagId" value="${tag.tagId}" />
	</c:forEach>

	<tr>
		<th><label for="title" class="required"> <fmt:message
			key="article.title" />:</label></th>
		<td><spring:bind path="article.title">
			<input type="text" name="${status.expression}"
				value="${status.value}" />
			<span class="fieldError">${status.errorMessage}</span>
		</spring:bind></td>
	</tr>
	<tr>
		<th><label for="content" class="required"> <fmt:message
			key="article.content" />:</label></th>
		<td><spring:bind path="article.content">
			<textarea name="${status.expression}" cols="80" rows="30" type="_moz">${status.value}</textarea>
			<span class="fieldError">${status.errorMessage}</span>
		</spring:bind></td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" class="button" name="save" value="发表" /> <input
			type="button" class="button" name="cancel" value="取消"
			onclick="history.back(-1)" /></td>
	</tr>
</table>
</form>
</div>



<script type="text/javascript">
    document.forms["article"].elements["title"].focus();
</script>

<v:javascript formName="article" staticJavascript="false" xhtml="true"
	cdata="false" />
<script type="text/javascript"
	src="<c:url value="/scripts/validator.jsp"/>"></script>
